This PowerShell script can be used to copy group membership from one group to another. I am using Get-ADGroupMember and Add-ADGroupMember cmdlets in this script. So you need to import Active Directory PowerShell module.
The input file (GroupInput.csv) contains source and target group names in the following format:
You can download the script from the following location: