Retrieves the node of the path indexed by index.
index
a Path
the node number to retrieve
a location to store a copy of the node