Fill in the blank with the appropriate function().
The ___ function is used to copy data from one stream to another. It is mainly useful in copying data between two open files.
*Matching is case-insensitive.
stream_copy_to_stream
Correct:
stream_copy_to_stream
Explanation:
The stream_copy_to_stream() function is used to copy data from one stream to another. It is mainly useful in copying data between two open files. The syntax of the stream_copy_to_stream() function is as follows:
int stream_copy_to_stream ( resource $source , resource $dest [, int $maxlength = -1 [, int $offset = 0 ]] )
Here, if maxlength is not specified, the stream_copy_to_stream() function will copy all data to the destination.