add actors to group

How do take a bunch of actors and place them into a group?
Actor * groupA[10];
void
moveGroup (int X, int Y)
{
for(i=0;i<10;i++)
{
groupA[i]->x+=X;
groupA[i]->y+=Y;
}
}
ChangeAnimation(groupA[i]->clonename, "animationName", FORWARD);
groupA[0] = CreateActor("actorName", "animationName", "(none)", "(none)", 0, 0, true);
// this creates actorName and groups it into the array
// if the actor is already created you will have to use getclone, or getclone2
groupA[0] = getclone("actorClonename");
Actor * groupName[groupSize];
groupName[5] = NULL;