fix a problem with strcpy() in xmlXPathFormatNumber() valgrind pointed out

* xpath.c: fix a problem with strcpy() in xmlXPathFormatNumber()
  valgrind pointed out the strings overlapped. cleanup .
Daniel
diff --git a/xpath.c b/xpath.c
index 2e0c9eb..7946fd6 100644
--- a/xpath.c
+++ b/xpath.c
@@ -1231,7 +1231,7 @@
 		;
 	    if (*ptr != '.')
 	        ptr++;
-	    strcpy(ptr, after_fraction);
+	    while ((*ptr++ = *after_fraction++) != 0);
 
 	    /* Finally copy result back to caller */
 	    size = strlen(work) + 1;
@@ -1239,7 +1239,7 @@
 		work[buffersize - 1] = 0;
 		size = buffersize;
 	    }
-	    memcpy(buffer, work, size);
+	    memmove(buffer, work, size);
 	}
 	break;
     }