Can I duplicate a group?

Is there a way to duplicate a group?

I’ve created a category for Courses and the Subcategory for Course1 as I had only one in the beginning. Now, as I created Course2 subcategory and created the appropriate group for it (SecondCourseGroup), I want to add everyone who originally had access to AllStudents to FirstCourseGroup group.

To summarize:

Current setup:

Category Group Access
Courses AllStudents
- - Course1 AllStudents
- - Course2 SecondCourseGroup
CommonSpace AllStudents

Expected result:

Category Group Access
Courses AllStudents
- - Course1 FirstCourseGroup
- - Course2 SecondCourseGroup
CommonSpace AllStudents

How do I copy everyone from AllStudents to FirstCourseGroup ?

I have just a handful of SecondCourseGroup members at the moment, so managing them manually is not an issue.

there is an existing feature request, but you can use api to populate the group.