bugfix: copy permissions on copy operation