question: public String [ ] segments ( ) { String [ ] segmentCopy = new String [ segments . length ] ; System . arraycopy ( segments , 0 , segmentCopy , 0 , segments . length ) ; return segmentCopy ; }
target:  Returns the segments in this path in order.