I want to check if 2 arrays (target and arr) of integers have the same content (both arrays are unordered). Example: Array(1,1,3,4,1,5) contents are equal to
Array(1,1,3,4,1,5)