copy_to_path

Macro copy_to_path 

Source
macro_rules! copy_to_path {
    ($from:expr,$to:expr) => { ... };
}
Expand description

copy file from a path to another path

   if let Ok(_r) = copy_to_path!("./foo.txt", "./src/foo.txt") {
     println!("{}", _r);
  }