Added copy and copyGraph

Added comparison of graphs