# essentially he's taking the class of the copied entity, and spawning it & setting the model to that of the entity to be replaced