Bugfix: did not copy enought bytes when overwriting old pointer table