The mov statement
The mov statement assigns the value of its second argument to its first argument. The first argument must be the name of a variable. It can be of any valid variable type except mutex. The second argument can be a variable or a numeric or string constant. If a constant is used, the compiler creates a variable behind the scenes and initializes it to the specified constant value.
Both arguments to the mov statement must be of compatible types. A scalar value can be assigned to another scalar variable, regardless of type, structs can be assigned to struct variables if the structure types are the same, and arrays can be assigned to an array variable provided that the type contained in the arrays are the same. The syntax of the mov statement is shown below.
mov x, y // set x equal to y