finish query via copy