function copies one file to another file or copies a group of files to a folder. The file_name
is a string expression or string list
giving the source file name(s). The output_file_name
is a string expression giving the destination file or folder name. The arguments can also be file handlers declared in file
You can use the wildcard characters "*" and "?" to specify a group of files to copy as the file_name. If using wildcard characters, the output_file_name must be the name of a folder.