Fixing directory copy