The "test-file-copy" command:

Usage: fossil test-file-copy SOURCE DESTINATION
Make a copy of the file at SOURCE into a new name DESTINATION. Any
directories in the path leading up to DESTINATION that do not already
exist are created automatically.