Update util.h

Fixed minor issue with copying dynamicStack class. NOTICE: This has serious affect H-Ext 0.5.2.2 and below! H-Ext 0.5.2.3 have this fix. Releate date for H-Ext 0.5.2.3 is still TBA.