Assign the loop variable to another variable declared inside the statement block