CopyFile
Creates a copy of an existing file in Box within the same folder or a different destination folder.
Input
| Name | Type | Description |
| FileID | String | Identifier of the file to be copied. |
| DestinationFolderId | String | Identifier of the destination folder where the file is copied. |
| FileVersionID | String | Identifier of a specific file version to copy. If not provided, the most recent version of the file is copied. |
| NewName | String | Optional new name to assign to the copied file. If omitted, the original name is retained. |
| AsUserId | String | Identifier of the user to impersonate for API requests, available only for Admin, Co-Admin, and Service Accounts. |
Result Set Columns
| Name | Type | Description |
| Success | String | Indicates whether the file copy operation completed successfully. |
| ID | String | Unique identifier assigned to the newly copied file. |