copy method

Future<void> copy(
  1. String sourcePath,
  2. String destPath
)

Copy within this scope, metadata included.

Implementation

Future<void> copy(String sourcePath, String destPath) {
  validateKey(sourcePath);
  validateKey(destPath);
  return _backend.copy(key(sourcePath), key(destPath));
}