Copy oldPath to newPath
If sudo is true, the file will be copied with sudo permissions
If recursive is true, the file will be copied recursively
If force is true, the file will be copied even if it already exists
If preserve is true, the file will be copied preserving the original
permissions
Delete filePath
If sudo is true, the file will be deleted with sudo permissions
If recursive is true, the file will be deleted recursively
If force is true, the file will be deleted even if it is read-only
Run a command on the system
If sudo is true, the command will be run with sudo permissions
If onProgress is provided, it will be called with the output of the
command