How can I copy the contents of a child folder to its parent folder using command line?

If you want to copy all content then run the command below

cp path-of-child-folder/* path-of-parent-folder

If particular content then run the command

cp path-of-child-folder/content path-of-parent-folder