Fixes: also copy the value

We were only copying the key, we need to copy the value too.