lib/memcopy:  fix variable initialization