The if-else block can contain multiple statements. Thus, if you want an echo for each branch, you could do something like so.
if [ `getconf LONG_BIT` = "64" ]
then
echo "I'm 64-bit"
mv /tmp/autoscript/file-x64 /var/destination
else
echo "I'm 32-bit"
mv /tmp/autoscript/file-x32 /var/destination
fi
If you would like to use the architecture information elsewhere, you can store it in a variable and do something like this:
arch=$(getconf LONG_BIT)
echo "I'm $arch-bit"
if [ "$arch" = "64" ]
then
mv /tmp/autoscript/file-x64 /var/destination
else
mv /tmp/autoscript/file-x32 /var/destination
fi
Even better, with the variable in place you can do this:
arch=$(getconf LONG_BIT)
echo "I'm $arch-bit"
mv /tmp/autoscript/file-x$arch /var/destination