Bug 526055 - NPE when rebuilding projects or launching junit

arrayCopy messed up src/trg.
Changing to Array#copyOf as this is less error-prone.

Change-Id: I293c2465de3a9cae9d7295774ada500bea65ecbc
Signed-off-by: Frank Benoit <frank.benoit.ext@valeo.com>
(cherry picked from commit 862f326262433087bb925a806780e3d78e8d79f6)
1 file changed