COPY

Example

Makes a copy of an old TSP variable (series, matrix, constant, etc.) with a new name.

COPY <old TSP variable> <new TSP variable>;

Output

The new variable is stored in data storage. The old variable is left unchanged. If a variable with the new name already exists, it is deleted.

Example

Save the coefficients from a regression in the vector B1. Note that this can usually be done more efficiently with RENAME, unless the original @COEF needs to be saved for a procedure like FORCST.

OLSQ Y C X;

COPY @COEF B1;