Create a security group s by copying an existing security group with menu access

Is there a way to create a new security group with menu access by copying an existing security group with menu access defined? Anyone has experience or knows how? Please help. Thanks.

You would have to define that process by calling the appropriate BO’s. Traces will be your friend when understanding how to replicate each step manually