pub fn copy_len<R, W>( read: R, write: W, buf: &mut [u8], len: u64, ) -> Result<u64, CopyError<<R as ErrorType>::Error, <W as ErrorType>::Error>>where R: Read, W: Write,