in reply to bin mode file copy

From read, the 65536 is the length argument where
Attempts to read LENGTH characters of data into variable SCALAR from the specified FILEHANDLE.