cp src.txt dst.txt

Category: File Operations

cp src.txt dst.txt

Copy a file to a new location

Copies a file from one location to another. The original remains in place.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.