Changed magic numbers to ASCII equivalents
Added GetProfileID function
Implemented copying files to device