Set Group on Drag and Drop Copied Node

When I drag and drop a node within a group while holding control, it copies the node but doesn’t assign it to the group which messes up the diagram. How do I set the group when dragging and dropping copied nodes?
I refer this , got my answer, how about you.