CopyStream
Copies one stream into another.
CopyStream ( src_stream,dest_stream[,buffer_size] )
Parameters
- src_stream
- the stream to read from.
- dest_stream
- the stream to write to.
- buffer_size (optional)
- how many bytes to move at a time. Defaults to 16384.
Description
Copies everything left in one stream into another, a piece at a time. It can copy a file, or save what comes in over a network stream.
