Saving Recorded Data from EVAL-AD5940BioZ to Flash Memory for later download

Hi, I'm working with the BIA sample code on Github for the AD5940 Bioimpedance evaluation board. The example in AD5940Main.c has a function BIAShowResult that dumps the recorded data onto the UART. Are there any examples of how to save this data directly to the Flash memory on the Adicup 3029 for later download? I have the Analog Devices ADuCM302x EZ-Kit Off-Chip Drivers and Examples pack and example for writing to flash but I'm not sure how to incorporate this with the BIA sample code as I'm new to microcontroller programming. Which libraries/files do I need to port over for this to work in the BIA example?