use php copy function to copy files