All these work:
Copy AS=newname.txt
Copy AS={="newname.txt"=}
Copy AS="{="newname (" + FilePart(filepath) + ").txt"=}"
Copy AS="{="newname (" + FilePart(source) + ").txt"=}"
Copy AS="{="newname (" + FilePart(dest) + ").txt"=}"
This creates the correct command in the log but does not work (won't run):
Copy AS="{="newname (" + FilePart(filepathdest) + ").txt"=}"
It can be made to work like this:
Copy FILE={filepath} AS="{="newname (" + FilePart(filepathdest) + ").txt"=}"
Seems odd.
Directory Opus 13.14.9.0 build 9232 english