Add copy_permissions.py
Ignore any raised OSError in copy_permissions.py