copy interpreterext for heap