This routine creates a new group based on a given existing group.
The contents of the existing group are copied to the new group,
but any duplicated names are only included once. The check for
duplication is case sensitive unless the group has been declared
case insensitive by a call to GRP_SETCS. The new group inherits
the type, control characters case sensitivity flag of the old
group, but does not inherit any owner/slave relationships (see
routine GRP_SOWN).
Note, indices determined from the old group will in general not
point to the same name in the new group. The old group should be
deleted using GRP_DELET if it is no longer required.