add rollback method & change copy result for getting rejected rows.