复制单个文件
将 foo.txt
从/path/to/source/
复制到/path/to/target/folder/
cp /path/to/source/foo.txt /path/to/target/folder/
将 foo.txt
从/path/to/source/
复制到/path/to/target/folder/
到一个名为 bar.txt
的文件中
cp /path/to/source/foo.txt /path/to/target/folder/bar.txt