Thanks Abigail-II.
I got the solution from your pointer. I used the back cote inside the system command, to run cp command which is the shell command, not the perl command.
I have found that there is -exec command which can be used to copy a file or directory and I am using this.
Thanks again.
-Pijush