my string copy function