copyToDisk method
Copies an absolute sourcePath to relativePath inside mounted diskId.
The destination must not exist and its parent directory must exist.
Preserves nested symlinks; reject destinations escaping the volume root.
A failed copy can leave partial data; no overwrite or merge is performed.
Implementation
@override
Future<void> copyToDisk(
String diskId, {
required String sourcePath,
required String relativePath,
}) =>
_operate<void>('copyToDisk', diskId, arguments: {
'relativePath': relativePath,
'localPath': sourcePath,
});