Use ffi.new with copy constructor instead of filling with ffi.copy