Fixing android db copy function