Hey Ginab
Usually we use 14 gage wire on electrical for pools and spas. You will want to check the manual to see wiring diagrams. As far as safety and GFI into a GFI, You may want to consult a pool professional in your neighborhood. If you need any help finding someone you can go to reliable pool solutions . com and they have service techs on their web site.
Good Luck,
Rob