///This script duplicates stuff. Update the size of i and names of things.//

for ($i = 1; $i < 44; $i++) {

int $u = $i + 43;

string $group = ("group"+$i);
string $groupnew = ("group"+$u);
string $curve = ("curve"+$i);

select -r $group;
duplicate -rr -renameChildren;
rename $groupnew;

}

Go back to String Creation.