<｜begin▁of▁sentence｜>### Instruction:
As a research scientist conducting experiments in network analysis, I need to create a copy of a specific graph in my research using igraph's copy method. The graph has 5 vertices connected in a simple path (0-1-2-3-4). I also need to plot both the original and copied graph for visual comparison.
### Response:
import igraph as ig

# Original graph with 5 vertices and some edges
g1 = ig.Graph(edges=[(0, 1), (1, 2), (2, 3), (3, 4)])
# Copy the graph
g2 = g1.copy()
# Now g2 is a separate object
# Display the original and copied graph
ing.plot(g1, layout='circle', mark_groups=True)
ing.plot(g2, layout='circle', mark_groups=True)
<|EOT|>
