All does depend on $n$. So this is a nice case for complete induction over n.
n=1: A=a real or complex and nonzero. $Rank(A)=1=Rank(A^{n=1})=n=1=rank(a^2)=rank(A^2)=rank(A^{n+1})$
For $n$ natural the hyptheses is $true$.
For $n+1$ A change exactly in one row or column to the case $n$. This row or column can be either but not linear dependent on the other making up the A for $n$. The implies implicitly the at least one element in the column or row is nonzero exactly in the dimension added to A for $n$.
We can now uses some of the equivalent definitions for the $rank$ of a square matrix. With restrict to generality the added row or column has only one nonzero element. This acts as a factor for example in the determinate development or is a new eigenvalue or the matrix A for $n+1$. So the determinante is nonzero at least in that development because we have a nonzero value and the knowledge that the determinant of our A for $n$ is nonzero and $rank(A)=n$.
The main idea for the induction step is ring of matrice rank or Rankconserse by multiplication of a nonsingular matrix in general a $A$ itself specially.
Matrices with nonzero $rank$ preserve the rank under multiplication. The multiplication under consideration is commutative because we only multiply A. That is another indicator for our hypotheses for $n+1$. Eigenvalues and Schur decomposition are closely related. One of the matrices in the Schur decomposition is an upper triangle matrice. So increasing the dimension from $n$ to $n+1$ simply adds another last if the last row and column in a unite vector with only a value in the new dimension.
The Schur decomposition is equivalent to that the matrix $∈ℂ^{+1×+1}$ has the property relying on the matrix $∈ℂ^{×}$. The matrice of $rank$ from a group and can transformed into each other under conservation of the $rank$. And the prove is done.