Replace some "apr_p[c]alloc / memcpy" constructions into a single apr_pmemdup()s PR: 51214 Submitted by: Christophe Jaillet <christophe jaillet wanadoo fr>