db: using close instead copy.