NamesGroups is an array of pointers.

Your pointers are pointing to the s2 buffer, which has "FIIs" in its contents.

If you want to permanently retain more strings, make more buffers.