db download and copy