Ruby script to copy ElasticSearch index (reindex).