Improved piojo_graph_copy() use vertex id for edge endpoint.