Add charCopy and inputSizeWirte function in mycp

Mycp is a bunch of operations related with the file I/O, charCopy is
to copy argv[1] to argv[2] one char at each time. inputSizeWrite
is to write argv[1] the specific size for some purpose.