fixed bug in dataaccess copyTo