Replacing data from one node to another

Hi all.
is it possible to replace a data node from one server to another if the configuration and versions are the same?
or I have to reindex all the data in my node.
please suggest me.

Thank you.

I am not sure I fully understand your question, maybe you can outline the usecase a bit further.

Have you read the documentation about rolling upgrades? See - this outlines how to stop a system, then install a new version. When you move the data and configuration to another physical node you can start the new ES process on that node as well.