use io;
use fs;
use Path;
/// 复制文件
///
/// # Examples
///
/// ``` no_run
///
/// fn main() -> Result<(), io::Error> {
/// let path = Path::new("./test/copy_origion");
/// let output_path = Path::new("./test/copy_currnet");
/// copy_file(&path, &output_path)?;
/// Ok(())
/// }
/// ```