Array

Assignment operator =

Not much to be said about Simple Assignment: of a scalar, It is a copy the memory to another address on the stack. No ownership is transferred.

Borrow operator &

By borrowing it is possible to avoid unnecessary memory copy:.
At the end of the scope of b the ownership is returned to a.