Magneto-electrodeposition of granular Co–Cu nanowire arrays