Freezing breastmilk

Kristen
Is it okay to transfer breastmilk from the refrigerator to the freezer? I've only had it in there for a couple of days. Also how long can I refrigerate milk and how long can I freeze without it going bad?