stream_copy_to_stream
Copies data from one stream to another
Description
intstream_copy_to_stream
resourcesource
resourcedest
intmaxlength
Makes a copy of up to maxlength bytes
of data from the current position in source to
dest. If maxlength
is not specified, all remaining content in source
will be copied. Returns the total count of bytes copied.
stream_copy_to_stream example
]]>
See also copy.