pub fn copy<R, W>( reader: &mut R, writer: &mut W, bytes_to_copy: u64, ) -> Result<()>where R: Read, W: Write,