No matter how much I think I know about Panorama, I constantly discover new functions or statements. Today I discovered CopyNewerFile which even creates the destination folderpath if necessary.
It’s carried over in Panorama X and will certainly become a well used item in my programming.
copynewerfile SOURCE, DESTINATION
The copynewerfile statement copies a file to another name or location. However, the file is only copied if it is newer than the old file, otherwise the destination is not touched.