IO.copy_stream(src, dst)IO.copy_stream(src, dst, copy_length)IO.copy_stream(src, dst, copy_length, src_offset)
Class Public methods
::copy_stream copies
src to dst. src and dst is either a
filename or an IO.
This method returns the number of bytes copied.
If optional arguments are not given, the start position of the copy is the
beginning of the filename or the current file offset of the IO. The end position of the copy is the end of file.
If copy_length is given, No more than cop