I dont have an S7, but I would assume that you can easily pop the card out from 1 phone and pop it into the new one.
Open the back of the S5 and remove the battery. There should be a slot where your SD card is. You simply slide the card out. Then in your S7, you need to pop out the SIM card...