Extracting a particular node set or element set from one inp file to another.

Dear Team,

Is it possible to extracting a particular node set or element set from one inp file to another?

Thank you.