Types of Edges In a Triangulated Mesh
The difference is: smooth attribute value of the edges with orange border is False, that of the ones with black is True. I guess, the new edges added by Triangulate modifier are smooth. So when recreating a mesh vertex by vertex, one needs to copy the edge.smooth attribute along with the vertex coordinates.