copy db file to app directory, modify IOUtils methods