how to copy three charaters of a string of strg2[] into strg1[]