Copying a 2D feature class and pasting it into a database using ST_Geometry storage creates a feature class enabled for 3D and measures in the target database. As a result, data queried using SQL shows four dimensions for each point or vertex and this data cannot be published as a feature service to a spatial data server.