How do I move a feature class into a feature dataset using ArcPy?
I've tried both arcpy.CopyFeatures_management() and arcpy.Copy_management, which both give me these errors:
ExecuteError<SPAN class="punctuation token">:</SPAN> ERROR <SPAN class="number token">000725</SPAN><SPAN class="punctuation token">:</SPAN> Output Feature Class<SPAN class="punctuation token">:</SPAN> Dataset G<SPAN class="punctuation token">:</SPAN>\GIS Data\xyz\<SPAN class="punctuation token">.</SPAN><SPAN class="punctuation token">.</SPAN><SPAN class="punctuation token">.</SPAN>_20180209 already exists<SPAN class="punctuation token">.</SPAN> <SPAN class="line-numbers-rows"><SPAN></SPAN></SPAN>
In this case, an empty feature dataset is created to store these feature classes. I just want to be able to move them into the datasets.
I also just tried arcpy.FeatureClassToFeatureClass_conversion() with no success:
ExecuteError<SPAN class="punctuation token">:</SPAN> ERROR <SPAN class="number token">999999</SPAN><SPAN class="punctuation token">:</SPAN> Error executing function<SPAN class="punctuation token">.</SPAN> Failed to execute <SPAN class="punctuation token">(</SPAN>FeatureClassToFeatureClass<SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">.</SPAN> <SPAN class="line-numbers-rows"><SPAN></SPAN></SPAN>