Creates a new sub path that includes all cells from this path starting at the first cell (inclusive) to to (inclusive).
a new sub path from the first cell to to
the index position at which the sub path should end