Implemented copy_state set_state methods for ann.graph