Preparation of CuO/C core-shell nanowires and its application in lithium ion batteries