bash how to copy or move all files in a list

C++
# Basic syntax:
cp `cat list_of_files` /new/directory # To move the files, use mv instead
# Where the list_of_files can be separated by new lines or spaces and
# can include the full path or just the relative path (as long as you
# run the command in the directory where the files are for the latter)
Source

Also in C++: