gsisimshape function

Internal function: Reshape an object to the shape type of another