The condition i <= 0
will never be met.
Also, tempArray[i] = temps[i];
will just copy the array as is.
Either do:
for (int i = temps.length-1; i >= 0; --i)
{
tempArray[temps.length-1-i] = temps[i];
}
or simply
for (int i = 0; i < temps.length; ++i)
{
tempArray[temps.length-1-i] = temps[i];
}