About this method
Copy the synonyms of an index to another index on the same app.
Note that this removes all synonyms currently present in the destination index, and replaces them with the synonyms from the source.
1 $client->copySynonyms('indexNameSrc', 'indexNameDest');
Name of the source index to copy.
Name of the destination index.