Fix buffer_resize(): update size

Also remove unnecessary test of copying buffer contents.