Enlarging data buffer for transfer