Your Realm War save is linked to your social accounts. This includes Facebook (iOS and Android), Game Center (iOS) and Google Play (Android). 

To transfer your account between devices, simply sign into the same social account as you did on your previous device. You will then be prompted to load your previous data.