Hi, PHP dont know how to copy a directory. You have two options. A recursive copy like this in the comments from Documentation http://php.net/manual/en/function.copy.php#91010 or you use systemfunctions with system()http://php.net/manual/en/function.system.php or backticks `copy y z` http://php.net/manual/en/language.operators.execution.php Regards, Tobias -----Ursprüngliche Nachricht----- Von: Jeffry Killen [mailto:jekillen@xxxxxxxxxxx] Gesendet: Sonntag, 22. April 2018 07:24 An: php-general General List Betreff: Copy for directories? Hello: is there a function for copying a directory, preferably with a recursive option? Thanks JK -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php