I need to copy file from TC 51 device into my PC via code

I need to copy file from TC 51 device into my PC via code, once it's connected using USB. I am trying with EMDK ProfileManager of USB Manger. Please provide some sample. Any one, please provide some suggestion?