Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Stream::CopyTo Method

 

Reads the bytes from the current stream and writes them to another stream.

Namespace:   System.IO
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodCopyTo(Stream^)

Reads the bytes from the current stream and writes them to another stream.

System_CAPS_pubmethodCopyTo(Stream^, Int32)

Reads the bytes from the current stream and writes them to another stream, using a specified buffer size.

Return to top
Show:
© 2017 Microsoft