Fix bug #12889 - replaceInPlace overlapping array copy error

https://issues.dlang.org/show_bug.cgi?id=12889
I mean int[1] is required or any type will do?