pub fn copy_file( source: &Path, dest: &Path, mode: &impl TestingMode, stream: &mut impl Write, force: bool, ) -> Result<bool, Error>