Copies a file to a new location
Source file path
Destination file path
OperationResult indicating success or failure
const result = await copyFile('/source/file.txt', '/destination/file.txt');if (result.success) { console.log('File copied successfully');} Copy
const result = await copyFile('/source/file.txt', '/destination/file.txt');if (result.success) { console.log('File copied successfully');}
Copies a file to a new location