Collision works now.
Changed tmp(Rectangle) inside the arrCollision loop