If I understand your question correctly, it is generally not possible simply to 'restore' a program. So far as I know, you will need to reinstall your programs from scratch on the new machine. Data files etc. can be copied across no problem, but application software needs to be reinstalled.
Best Samsung Galaxy S7 deals: Where to buy Galaxy S7 & Galaxy S7 Edge