bug fixed: database will not be copied when the destination folder does not existed.