How can I save selected features to a new feature class?
If I do one of the following commands always all of the features are copied, and not just the selcted ones.
## First select features
arcpy.management.SelectLayerByLocation(input, "INTERSECT", intersecting_features, None, "NEW_SELECTION", "NOT_INVERT")
## then try one of these to save as new features
new_copy = arcpy.CopyFeatures_management(input, output)
or
new_copy = arcpy.management.Copy(input, output, "FeatureClass", None)
As I mentioned, always all of the features are copied.