copy_node_attrs function

Copy a node attribute column and set the name