Need help with getting unrepeated values out of an array

I’m new here and not sure this is the right place to post this, but here it is…

I’m trying to fill let’s say Array1 with user chosen amount of values in one loop, then i’m trying to .push a value from a random index of Array1 into Array2 while .splicing that value from that index on Array1 so that in the next loop the value wont be repeated, now, the problem i’m having is that when testing basically a simpler version of the code it works the way I want to, but when I run the code with the user interaction some numbers get repeated… Example…

for (var j:int = 0; j < 5; j++)
            {
                verifierArry.push(j + 1);
                
                Tracer2 = new FrmtdLbl(verifierArry + "", 20, 0x000000, "left", false, false, false, false, "dynamic");
                Tracer2.y = this.y + j * (Tracer2.height + 20) * 1;
                addChild(Tracer2);
            }
            
            for (var i:int = 0; i < 5; i++)
            {
                
                var currNum:Number = (Math.floor(Math.random() * verifierArry.length));
                
                verifierArry.splice(currNum, 1);
                Tracer2= new FrmtdLbl(verifierArry + "", 20, 0x000000, "left", false, false, false, false, "dynamic");
                Tracer2.y = 200 + i * (Tracer2.height + 20) * 1;
                addChild(Tracer2);
                
            }

This will show something like…
1
1,2
1,2,3
1,2,3,4
1,2,3,4,5
1,3,4,5
3,4,5
3,5
5

But when I run this…

public function doThis(_cicle:Number, _maxVal:Number):Array
        {
            var i:int;
            cicleInt = _cicle;
            maxVal = _maxVal;
            
            for (var j:int = 0; j < maxVal; j++)
            {
                verifierArry.push(j + 1);
                
            }
            
            
            for (i = 0; i < cicleInt; i++)
            {
                
                var currNum:Number = (Math.floor(Math.random() * verifierArry.length));
                
                combination* = verifierArry[currNum];

                verifierArry.splice(verifierArry[currNum], 1);
                
            }
            
            return combination;
        }

_maxVal is user input restricted from 1 to 99 so if they input 2 or higher somehow I might get repeated values inside the combination:Array…

Hope this is clear enough and Thanks in advance for any help…