Having actually built such functionality for a different android app, I can assure you that 'just transfer the file' is extremely difficult. Problems include Android API skew across versions, different OEM android implementations of those skewed APIs, and more!
For transferring backups from one phone to the other, I used Xender. Probably best to just transfer with an sd card, though.