Recursive copying does not copy files if they didn't existed

There was a missing else when copying the contents inside a directory.