The code below solves the following problem: given a list, check if it is sorted. However, this code works incorrectly. For example, it outputs "sorted" for input 2 1 3. Find and correct the mistake.
Tip: The mistake is connected to copying objects.