one minor little difference...
event seven - in C3 you set value at Loopindex to aleatorio
in C2 you set value at ateatorio to Loopindex.
so, it should work fine after fixing the C3 version, but I would do this a little differently - put the numbers in the array in sequence, and then loop through the array and randomly swap them with a different location (so each value gets moved at least once), or put them in one array and randomly pull one out and put in a second array until there are none left in the first array.
this way seems inefficient because it forces it to repeatedly pick a random location to put loopindex until it finds an empty location, which could take a while, especially for the last few spaces. The bigger the array, the less efficient it would get. For a small array you wouldn't have a problem though...