Centralise code for copying uuid