copy_backward has a bug?