If you do indeed have an array of chars, the strtok function will allow you to extract tokens from the array ("GPGGA", "161229.487", "3723.2475", etc.).
You can use atoi and atof to convert the tokens to numbers.
Even easier, though, is to use the TinyGPS library that has already implemented the parsing for you.