popmaildir: placate gcc8 "warning: 'strncpy' output truncated"

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
diff --git a/mailutils/popmaildir.c b/mailutils/popmaildir.c
index a4aad36..5894567 100644
--- a/mailutils/popmaildir.c
+++ b/mailutils/popmaildir.c
@@ -265,7 +265,7 @@
 
 		// atomically move message to ./new/
 		target = xstrdup(filename);
-		strncpy(target, "new", 3);
+		memcpy(target, "new", 3);
 		// ... or just stop receiving on failure
 		if (rename_or_warn(filename, target))
 			break;