CTFE: encapsulate memcpy with constructor

Refactor only. Replaces ugly memcpy() kludge with constructor encapsulating the kludge.