GUI Design – Best UI pattern that allows the user to assign two groups of 1-level nested elements

My problem is similar to the following: The best UI pattern that a user can use to assign items to groups

I am looking for a good UI design for mapping elements between 2 groups (one-to-one mapping only). These elements can come from a parent or from themselves.
I thought about drag-and-drop / checkboxes (or switches like) to enable them for a group.

Article Group 1 Group 2

point a
Point A1 checkbox checkbox

Point B checkbox checkbox