Enter the “cp” command, followed by the path to the file to be copied and the path to the new file.
For example:
cp oneFile secondFile
A duplicate of the file oneFile is created and named secondFile.
The cp command overwrites a file if the new filename you specify already exists.
For more information on copying files, see the cp man page by entering “man cp” in the Terminal window.