code: public SimpleDependencyPath copy() {
          SimpleDependencyPath copy = new SimpleDependencyPath();
          copy.path.addAll(path);
          copy.nodes.addAll(nodes);
          return copy;
      }
docs: Returns a copy of this dependency path