You can copy roles with the rol export/import function. See the documentation here: https://docs.moodle.org/33/en/Role_export_and_import
Roles and permissions
Transferring roles between two Moodle Sites
This discussion has been locked so you can no longer reply to it.