pub fn kernel_copy<R: Read + ?Sized, W: Write + ?Sized>( read: &mut R, write: &mut W, ) -> Result<CopyState>