FileSystemManager.copyFile
JS
FileSystemManager.copyFile(Object object)Copies a file
Parameters
- Object object: Input parameters. See the table below for details.
object properties:
| Property | Value Type | Required | Description |
|---|---|---|---|
| srcPath | string | Yes | Source file path. Only a regular file is allowed. |
| destPath | string | Yes | Target file path |
| success | function | No | Callback for a successful call |
| fail | function | No | Callback for a failed call |
| complete | function | No | Callback for when the call ends |
