copy method

Future<void> copy(
  1. String filePath,
  2. String newPath
)

Copies a file from source path to a new path

Implementation

Future<void> copy(String filePath, String newPath) async =>
    await copyImpl(filePath.replaceSeparator(), newPath.replaceSeparator());