Did you try starting it in Target Mode to use it as a Hard Drive? If it would power on at all, you can often do that. If not, remove the hard drive, buy an inexpensive case, and put the drive in it. . . you may be able to retrieve your files to a new user on your new machine. I've done that.
The problem with the iMac was traced to a damaged logic board. That, in turn, had damaged the hard drive. The tech I was paying couldn’t even copy off a disk image.