commandFileCopy function

File commandFileCopy(
  1. List args
)

Function of file_copy command

Implementation

File commandFileCopy(List args) {
  File f1 = expEval(args[0]);
  String path = expEval(args[1]);
  return f1.copySync(path);
}