You can copy either one assignment or all assignments from one course to another. You should have "teacher" role in both courses to perform this operation.
From within the course you are copying an assignment to select "Edit Assignments" in the top bar. Then select "Copy Assignment".
"Select course" will present a list of all the courses you can copy an assignment from. You must have a "teacher" role in a course you wish to copy an assignment from.
Select the course and navigate to "Select Assignment" which should present you with a list of assignments in the selected course.
Selecting "Copy All Groups" will copy all the lab groups from one class into another. Please note that it might take a few minutes for the copy to be successfully completed.