How can I set one actors name to another?

I thought this would do it, but no luck.
"$gameActors.actor(800).setName($gameActors.actor(799))"
I would greatly appreciate any help. Thanks.
Hi!
You can do this:
$gameActors.actor(id).setName($gameActors.actor(id)._name)
Event commands page 1: Actor: Change name...

Original thread: https://forums.rpgmakerweb.com/threads/how-can-i-set-one-actors-name-to-another.127488/