copies for stack array and registers hash created