Added CopyTo method to stream extensions