how to copy file in ubuntu terminal

C++
cp ~/Downloads/your-file.txt ~/Documents/
Source

Also in C++: