Tailoring the properties of copper nanowires by ion beam irradiation