COPYFILE, FILE=”filename”, TO=”new_filename”, APPEND=logical; copies the file ”filename” to the file ”new_filename” on disk.
The attribute APPEND=true causes COPYFILE to append the content of
”filename” at the end of the file ”new_filename”.
The default value APPEND=false causes the
replacement of the content of ”new_filename” with the content of ”filename”.
COPYFILE, APPEND=true... is more portable than an equivalent SYSTEM call: \madxmp SYSTEM("copy /y filename new_filename"); ! Windows specific