Convert an int array to long array using Java 8?
<p>I have tried few ways unsuccessfully.</p>

<p><code>this.tileUpdateTimes</code> is <code>long[]</code> and <code>other.tileUpdateTimes</code> is <code>int[]</code> </p>

<pre><code>this.tileUpdateTimes = Arrays.stream(other.tileUpdateTimes).toArray(size -&gt; new long[size]);
this.tileUpdateTimes = Arrays.stream(other.tileUpdateTimes)
            .map(item -&gt; ((long) item)).toArray();
</code></pre>

<p>How can I fix this?</p>