Accelerate copying from file to 1D array or element

Hi everyone. I wanted to ask if you can speed up copying strings from a file into an array (more precisely to the structure of the AVL tree - node) where you should read 2,000,000 strings? Should always be memory allocation to each string individually. Could someone write a sample code snippet using the CUDA function that would accelerate these operations? Thanks for help.