copyFile static method

void copyFile(
  1. String fromPath,
  2. String toPath
)

Implementation

static void copyFile(String fromPath, String toPath) {
  File from = File(fromPath);
  from.copySync(toPath);
}