Try something in the spirit of:
program.exe textCopy "C:\path to\the source file\my source file.ext" "C:\path to\the destination file\my destination file.ext"
It’s the double quotes around the file path in the command line you’re missing.
2
solved C: How to open a file using the parameter to main argv? [closed]