Copies the vector, sets the value by the index and returns the vector
value
index
Vector set(int index, num value);