You should test for existence of the file you want to copy instead of the directory that contains it, just as Shamrock proposed.
But what is the -a in the copy command good for if you only copy a single file?
Besides, should the remote host be an AIX, as the /opt/IBM might suggest,
I doubt that its cp knows this recursive, preserve switch.