added strcopy method, unit test for GetLength