/*
* call-seq:
* dvector.replace(other) -> dvector
*
* Replaces the contents of _dvector_ with the contents of
* <i>other</i>, truncating or expanding if necessary.
*
* a = Dvector[ 1, 2, 3, 4, 5 ]
* a.replace(Dvector[ -1, -2, -3 ]) -> Dvector[ -1, -2, -3 ]
* a -> Dvector[ -1, -2, -3 ]
*/
VALUE dvector_replace(VALUE dest, VALUE orig) {