I encounted a very strange problem when using the function of "CopyBytes", shown as below
....
CopyBytes (Pattern1, 0, LineBuffer, (PatternPosition1+16), i);
printf("%d, %s\n",i,Pattern1);
.....
The printf function will output :
13, MainsequenceA
4, XsssButtonpBOYAAAC
The output of line 2 is very strange, since we have defined output size to 4, why it could be a string of "XsssButtonpBOYAAAC "??
I also attached my source codes, the function of CopyBytes is in Line109.
Thanks
Jacky