copy method

Future<void> copy(
  1. String directoryPath,
  2. String destinationPath
)

Copies a directory to a new path

Implementation

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