Files can only be copied from internal storage (assets) to the privateDir
(internal storage) or to external storage and the ASD
. Since Android 11, files can only be copied to the ASD
and special Shared
folders.
For more details see here:
This has nothing to do with the TinyDB
. There paths, text etc. can be saved, but not files.