Check out example codes for "c# clone stream". It will help you in understanding the concepts better.

Code Example 1

//Copy the bytes from a source stream to a destination stream.
sourceStream.CopyTo(destinationStream);

//NB you may want to reset the streams position
sourceStream.Seek(0, SeekOrigin.Begin);
destinationStream.Seek(0, SeekOrigin.Begin);

Learn ReactJs, React Native from akashmittal.com