If you are looking for shorter way to copy a file from one location to another location, follow below:
To perform above operation you have to user xargs command in Linux.
Suppose you want to copy a file demo.txtt to three different directory.
echo directory1 directory2 directory3 | xargs -n 1 cp -i demo.txt
The -i option of cp command means that you will be asked whether to overwrite a file in the current directory with the demo.txt.
The -n Use at most max-args arguments per command line.