CopyResource Method
Copies a file.
Syntax
public fun copyResource(resourceId: String?, newName: String?, parentIds: String?): String?
Remarks
This method copies the file identified by ResourceId and returns the Id of the newly created copy.
The NewName parameter defines the name of the copied file.
The ParentIds parameter should be a comma-separated list of existing folder Ids to use as parents for the copied file. If left blank, the copied file will inherit the same parents of the original.