Lydia Ko shot a bogey-free 67 to move one shot behind A Lim Kim after two rounds of the HSBC Women's World Championship.