Thank you very much for the commenting. Has help me immensely and I'll use for reference.
The script copied the majority of the files, it had problems with folders and filenames with silly formats, but they were few enough to be manually moved.
I'm just wondering, is this perl? If so, it would explain why it looks so alien.
Thanks again.