ArcGIS featSet
import arcpy
fc = arcpy.GetParameterAsText(0)
try:
featSet = arcpy.FeatureSet(fc)
featSet.save("d:/temp.shp")
except Exception as e:
print e.message
# If using this code within a script tool, AddError can be used to return messages
# back to a script tool. If not, AddError will have no effect.
arcpy.AddError(e.message)