https://kodejava.org/how-do-i-convert-array-of-primitives-into-array-of-objects/
How do I convert an array of primitives into an array of objects?