Magnetostatic interaction in arrays of nanometric permalloy wires, a magneto-optic Kerr effect and a Brillouin light scattering study