The component gets detached when it copy and past in anther file

The component becomes detached when it is copied and pasted into another file.

Is the original file published as a library and if yes is this component specifically published?