Does anyone know if arcpy.management.Copy is meant to be the same as arcpy.CopyFeatures_management? It appears to be the same unless I use it to copy features to memory in which case it gives the following error.
ERROR 000979: Cannot copy between different workspaces.
Example code is below:
fc = r"gisdata.sde\GIS.GISDATA.assets\GIS.GISDATA.plots"
arcpy.CopyFeatures_management( fc, r"memory/in_memory_temp_file") # This works with no errors
arcpy.management.Copy( fc, r"memory/in_memory_temp_file") # This gives the error above
Any help would be appreciated.
Thank-you!
interesting, sounds like a variant of...
BUG-000167752 for ArcGIS Pro (esri.com)
I believe the Copy tool is the geoprocessing version of a catalog copy/paste operation, and copy/paste doesn't support going from a geodatabase workspace to a non-geodatabase workspace.