All right.
So in this lecture, I want to take a very quick second to go over what a copy is.
So I've already set up our our example and said, let X equal one, let Y equals X, and then we're
going to print out the values of X and Y.
And do you think that this example is going to work based on everything that we have talked about leading
up to this point?
Well, it does.
And you can see here that X equals one and Y equals one.
But why does this work?
Well, earlier on in these lectures, I was very careful to say that most types implement a move.
Some implement what is known as a copy.
And a copy is going to be implemented on types that are already stored on the stack such as an integer,
boolean float or a tuple can also have the copy trait if every value it contains implements copy.
So I just wanted to point this out because we have done this before and I just wanted to make sure it
was clear as to why we're able to do it with some types but not others.
But after this, we're going to get get back into looking into moves a bit more and trying to understand
this ownership concept.
To the best of our ability.