I created a Model Builder and added a Copy process and it works fine. I export this same Model Builder to Python and now when I run it, it shows the following error message:
# Process: Copy
arcpy.Copy_management(SDEView, PointLayer "FeatureClass")
File "C:\Program Files\ArcGIS\Server\ArcPy\arcpy\management.py", line 3950, in Copy
ExecuteError: Failed to execute. Parameters are not valid.
ERROR 000732: Input Data: ....... does not exist or is not supported
Failed to execute (Copy).