I usually will use the MakeFeatureLayer command to make a layer from a feature class based on a query and then use CopyFeatures to export it out into its own feature class. I have an example below: arcpy.MakeFeatureLayer_management(feature, feat_lyr)
arcpy.SelectLayerByAttribute_management(feat_lyr, 'NEW_SELECTION', query)
arcpy.SelectLayerByAttribute_management(feat_lyr, 'SUBSET_SELECTION', query3)
result = arcpy.GetCount_management(feat_lyr)
print "Number of selected addresses in the layer: " + str(result)
#Copy selected features to new feature class
if arcpy.Exists(output):
arcpy.Delete_management(output)
arcpy.CopyFeatures_management(feat_lyr, output)
print "Copied selected features from urban points layer to: " + output
I hope this helps!Caleb