Fat secret is linked to a user name and info is stored on their servers.
Simple, when you get new iphone, load app and input your current user name and password for FS. It will then have all you details available.
I run FS on my ipad, Iphone and laptop, all with the same user name.