preserve permissions when copying