copyToScope method
Copy into another scope — the backends must share a substrate (same underlying store) for the raw copy to land.
Implementation
Future<void> copyToScope(
String sourcePath,
StorageScope dest,
String destPath,
) {
validateKey(sourcePath);
validateKey(destPath);
return _backend.copy(key(sourcePath), dest.key(destPath));
}