[PATCH 5/5] reg: Fail if the source and destination keys are the same when copying