diff --git a/common/source/java/ch/systemsx/cisd/common/parser/ExcelRowTokenizer.java b/common/source/java/ch/systemsx/cisd/common/parser/ExcelRowTokenizer.java
index cc74bf88153e3dbee6365e2c0616ff9295948145..9d9ceab0ca1a4d8111f69bcc4c6610fe097f92a9 100644
--- a/common/source/java/ch/systemsx/cisd/common/parser/ExcelRowTokenizer.java
+++ b/common/source/java/ch/systemsx/cisd/common/parser/ExcelRowTokenizer.java
@@ -16,8 +16,6 @@
 
 package ch.systemsx.cisd.common.parser;
 
-import java.util.Arrays;
-
 import org.apache.poi.ss.usermodel.Cell;
 import org.apache.poi.ss.usermodel.Row;
 import org.apache.poi.ss.util.CellReference;
@@ -74,7 +72,9 @@ public class ExcelRowTokenizer implements ILineTokenizer<Row>
             return new String[0];
         }
 
-        return Arrays.copyOfRange(line, 0, last + 1);
+        String[] result = new String[last + 1];
+        System.arraycopy(line, 0, result, 0, last + 1);
+        return result;
     }
 
     private static String extractCellValue(Cell cell) throws ParserException