Copy php application even if directory exists but is empty