the size of m_data[i] is still the incorrect size, you will have to delete the data and then recreate the array to the new size, then transfer the data over, if m_data[i] was size 10 but you are trying to put data a new size of 15 into it, it will seg fault
try making the one you are trying to copy to a smaller size and see if it works, it should work, but is the incorrect way of doing it, try my way mentioned above for the said reason above