Copy values atomically