Heloc used to Buy Primary Residence

Hi,

 

I have a question about HELOC interest. I plan to use my HELOC to purchase another house that will become my primary residence. Can I deduct the interest on this HELOC for tax purposes.

Thanks in adavcne.