1-There are a couple of different ways you can copy an object.
The easiest way to copy something is via something called a spread.
A spread is a three dot operator and it's used for taking every single item in a object and spreading it into a new object.
const person3 = { ...person1 };
2-There is another way to do this