n= O(n^2) because n^2 always upper-bounds n, because n^2>=n for every +ve value of n you take
But O(n) is not equal to O(n^2) because that will mean O(n^2) =O(n) that is n upper-bounds n^2, but given any value of n>1, this can never be true as n^2>n for n>1.
Just replace n with n^2019 and n^2 with n^2020 for the above problem.