Copies the contents of the vector InVec to the vector TargetVec. The vector TargetVec is automatically resized to match the size of the vector InVec.
Hint:
Please note that the statement "Vec1 := Vec2;" does not copy the contents of vector Vec2 into vector Vec1. It simply copies the pointer to Vec2 into the variable Vec1 which in effect means that both variables are using the same memory after the assignment.