Overview
Creates a new copy of fileFileInfo myFiles.Copy(id: string)
Arguments
string id
Id number of of file
Returns
Instance of new copied file info.Remarks
This method throws exception if given file id is not found.
Example
var file = $File.Copy(fileId); console.log(file.Id);