it that doesnt work please answer the following
- What happens if you go to http://newserver/newpath/copyorders_multiple.pl?refID=somevalidrefid
- how did copyorders_multiple.pl get on/to the new server
- Have you checked the executable settings on copyorders_multiple.pl
- how does copyorders_multiple.pl deal with refID=".trim($license), how are you sure that any required resources or datasets needed by copyorders_multiple.pl are also on the new server?
- Was the old server a windows machine and the new server a unix or mac machine? if so http://stackoverflow.com/questions/7858987/apache-2-throws-no-such-file-or-directory-exec-of-usr-lib-cgi-bin-fst-cgi may solve your problem.
There are more problems that could exist, but without the error.log entries it is hard to predict