Copy functionality of MVSStage4 to MVSStage5