If I read the question correctly, you want to copy documents from Elasticsearch to another system. Correct?
Elastic has the Logstash product and there is an Elasticsearch input that can process the results of a ES query.
What is the destination of the docs?