fixing warning for deprecated strcpy on windows
http://msdn.microsoft.com/en-us/library/ms175759%28v=VS.90%29.aspx