This method of the IStream Interface copies a specific number of bytes from the current seek pointer in the stream to the current seek pointer in another stream.
public void CopyTo(IStream pstm, long cb, long[] pcbRead, long[] pcbWritten);
pstm | The stream that is copied to. |
cb | The number of bytes to copy. |
pcbRead | A pointer to the number of bytes actually read. |
pcbWritten | A pointer to the number of bytes actually written. |