#### 7.4.1 CpCopy

• CpCopy( <list>, <start index>, <number> ).
• Description: that function returns the list built with the <number> components of the <list> from the component number <start> [included]. If <number> is 0, then the function returns all the components in the list from the component number <start>.

If the <start> number is negative, then the list is read from the right to the left starting from the last, the last component’s index is $-1$, the penultimate’s is $-2$ $\cdots \phantom{\rule{0.3em}{0ex}}$ etc. The function returns the <number> components from the list (or the whole list if <number> is 0) read towards left, but the list is returned in the same direction as the <list> (that list is unchanged).

• Exemple(s)
• CpCopy([1,2,jump,3,7,8,jump,4,jump,5,6], 2, 1) returns [3,7,8].
• CpCopy([1,2,jump,3,7,8,jump,4,jump,5,6], -1, 2) returns [4,jump,5,6].
• CpCopy([1,2,jump,3,7,8,jump,4,jump,5,6], -3, 0) returns [1,2,jump,3,7,8].