The codes the website shows
When you turn on two-factor sign-in, the website may show a short list of backup codes. That list is the way back in if the phone is gone.
Store the list somewhere other than the phone. A screenshot in the camera roll is still on the phone.
The file the app exports
Aegis can export an encrypted vault. Restoring it needs the vault password. That file does not contain the website's backup codes unless you typed them in yourself.
Keep both. The vault restores the one-time passwords. The backup codes restore the account when the vault is missing.

