Do you need to copy a single file to multiple dirs under #Linux, #FreeBSD, #Unix or #macOS? Try:
echo "/dir1/ /dir2/ /dir3/" | xargs -n 1 cp -v file.txt
See for more info https://www.cyberciti.biz/faq/linux-unix-copy-a-file-to-multiple-directories-using-cp-command/