How to call data from database and then save localy

Is there a way to call data from a database for example a json file or images and save them localy so that when the user opens the app for the first time it will download all the data and then they can be used localy from the assets ?

If there is?

Yes there is.

Have you researched online and offline database?

Did you try to do something?