preserve file attributes on copy