I Googled and found
this. But I can't help much beyond that! Presumably to generate a corellated dataset you simply generate some random numbers for the first dataset, then generate some smaller random numbers and add them to the first set to make the second set? But no doubt there's more to it than that, with normal distribution etc. taken into consideration...