My questions:
1 - Why an array that has a dimension of 6 (char pAliasONLocal[6]) can store sondaA.txt? Because sondaA.txt has 10 characters...
It can't. You wrote beyond the end of the array.
I need your help, I'm getting crazy!!!
Stop doing crazy things. Pay attention to which dimension should size the second array.