If by groups you in fact mean Distribution Lists, then any of the correct
methods for data transfer would transfer DL's.
What did you do? If you used export and import, then of course they would be
gone. That is not a correct method for data transfer. Correct methods are
posted here daily.