copy animated mesh

BlitzMax Modules Forums/MiniB3D/copy animated mesh

in the bird demo it crashes on the line where it tried to make a copy of the bird model.
If I try to make a copy of the zombie model it also crashes with the same error message.
is there a workaround?