You can install the app on multiple devices as long as they run the same operating system and use the same store account (e.g., your iPhone and iPad). Where to Get a Legitimate License
Understanding the iReal Pro License: How to Legally Activate Your App
Licenses are not transferable between different operating systems. If you bought it on the Apple App Store for iPhone, you cannot "transfer" that license to an Android device or a Windows PC.