This is just a read from one table (shapefile) and a write to another table (shapefile).
This would work in 9.3.1 (SP1, SP2) but no longer in 10, with or without SP1:
>>> copyShape = Arow.shape
>>> arrayShape = copyShape.getPart( )
>>> Crow.setValue( 'Shape', arrayShape ) # or Crow.shape = arrayShape
error is:
Traceback (most recent call last):
File "<interactive input>", line 1, in <module>
File "C:\Program Files\ArcGIS\Desktop10.0\arcpy\arcpy\arcobjects\arcobjects.py", line 941, in setValue
return convertArcObjectToPythonObject(self._arc_object.SetValue(*gp_fixargs(args)))
RuntimeError: ERROR 999999: Error executing function.
This is a polyline shape. Arow is a searchCursor, Crow is an insertCursor.
type(arrayShape) gives: <class 'arcpy.arcobjects.arcobjects.Array'>, and it looks to be populated OK.
I also have a point copy I'm getting ready to test, so if there is a separate fix for that you might know of, I'd appreciate mention of that, too.
Thanks.