The question is to determine if the second array is the first array shifted to the right by 1.
*Examples:*
simonSays([1, 2, 3, 4, 5], [0, 1, 2, 3, 4]) ➞ true
simonSays([1, 2, 3, 4, 5], [5, 5, 1, 2, 3]) ➞ false

My code is as follows:

```
bool simonSays(std::vector<int> arr1, std::vector<int> arr2) {

    for(int i=0; i<arr1.size(); i++)
        if(arr1[i]==arr2[i+1]) 
        return true;

    return false;
}

```

However, my code fails on this test case. My output is true but it should actually be false:

```
It(Test4){Assert::That(simonSays({1, 2, 3, 4, 5}, {0, 1, 2, 3, 3}), Equals(false));}

```

What is wrong with my code?