IIRC there is no object to object casting in php (there are some hacky solutions though). You can copy all properties of a model object to an another e.g. like this:
$b = new ModelB();
$b->fromArray($instanceA->toArray());
$b->setColB('yepp')->save();