Code example for Allocation

Methods: copyFromgetType