What does RENAME mykey newkey do in Redis?
RENAME mykey newkey
It moves mykey to Redis database newkey.
mykey
newkey
It changes the key name to newkey while preserving the associated value.
It copies the value so both mykey and newkey remain available.
It keeps the key name and changes its value to the text newkey.