Have you set the folder which you are copying to with upload priviages?
eg.
<?php chmod ("/SomeFolder", 0777); ?>
What is happening is on your local server you have full access and when you try it online it has denied your access to write to the folder, use the above coding in a page and run it on the server which should then give you access. Below are the options you can have.
chmod = 777 will give Everybody read/write access to the folder
chmod = 700 will give you full access giving everybody else nothing at all.
chmod = 644 will give you read/write access to the folder and everybody else will have read only access.
i hope this is helpful in a way or two... :rolleyes: