Copy the data while we have the read lock.

Instead of copying a pointer to it.