is there a way to save the .ipk or similar file from an app that is downloaded from preware or the app store so that if i have to reset my phone or get a new one i can install it again and not have to redownload and/or pay for it?

thanks.