Not( (ObjectKind = 'Component')) And IsSelected
in to the PCB Filter panel.
Below in the Object passing the filter check the "Select" box
and in the Objects not passing the filter check the "Deselect" and choose "Normal" in the drop down box.
This will deselect the components and leave all of the other primitives selected so they can be copied without copying the components to be used on another group of parts.