Question: how to transfer data from one laptop to another using hdmi cable?
Answer: No. HDMI is a media cable only. In theory, you could encode said data into some form of media (audio, video, ) and transfer it through the HDMI and decode it on the target computer. But it'd be much easier to upload the file to the cloud (Google drive, Dropbox, etc) and download it on the target computer.