Fixed some calls to memcpy() in allocate_cluster()