Are you looking to remove the element and shrink the array? Not sure exactly what you're trying to do but if the order of your elements doesn't matter then maybe you could do this:
vx[20]=vx[256] vx=vx[..(vx.length-1)]