This routine copies all files in the catalog to a directory specified as argument. It is invoked using the command:
mfl -a ctl -j copy {inputfile} -- --dir {output-directory}
The routine provides the following features:
| | The output-directory is checked to be a directory
|
| | The output-directory does not exist, it will be created
|
| | The files in the catalog are checked to exist and to be plain files (no directories)
|
| | If there are duplicates, a running number is added to the extension
|
| | The messages are logged into the file copy-mmx.log in the current directory of the catalog 
|
| | If the catalog does not contain a doctype declaration, a information message is submitted.
|
|