In The Hand LtdIn The Hand
CopyTo Method (s, destination)
NamespacesInTheHand.IOStreamHelperCopyTo(Stream, Stream)
.NET Components for Mobility
Reads all the bytes from the current stream and writes them to a destination stream.
Declaration Syntax
C#Visual Basic
public static void CopyTo(
	Stream s,
	Stream destination
)
Public Shared Sub CopyTo ( _
	s As Stream, _
	destination As Stream _
)
Parameters
s (Stream)

[Missing <param name="s"/> documentation for "M:InTheHand.IO.StreamHelper.CopyTo(System.IO.Stream,System.IO.Stream)"]

destination (Stream)
The stream that will contain the contents of the current stream.
Remarks
Copying begins at the current position in the current stream.
Exceptions
ExceptionCondition
ArgumentNullExceptiondestination is a null reference (Nothing in Visual Basic).
NotSupportedExceptionThe current stream does not support reading.

-or-

destination does not support writing.

Assembly: InTheHand (Module: InTheHand) Version: 7.0.0.0