No one is talking about wholesale replication down to the bolts and rivets of the J-31 from the F-35. When people criticized the J-31 for being a 'copy' of the F-35, they are essentially wondering how is it possible that China, for decades had to import her defense and struggled with developing indigenous weapons systems beyond the AK-47, all of a sudden built the J-20 and the J-31 whose outward appearances bears amazing similarities -- not identical -- to the American fighters.
The critics are not some ignoramuses down the streets. They are aviation experts that runs the spectrum of aviation, from military to civilians, from engineers to pilots, and even down to knowledgeable non-flying enthusiasts. They were flying or publishing papers about airplanes when you guys were still flicking boogers at each other at the playgrounds. When I did hard TFs over Scotland, you guys just discovered how good it was to fondle your own hard-ons.
Whether China did commit espionage to gain vital technical knowledge to build her 'stealth' fighters or not is for a different discussion, one that will never be satisfactorily settled, but while no one expect China to build an F-117 equivalent as proof that her 'stealth' fighter program was indigenous, no one was willing to sacrifice his credulity and accept unconditionally that China was able to leap one -- but more like two -- generation of military aviation to build the J-20 and the J-31 without assistance. The word 'assistance' here does not mean a foreign power actively and even publicly provide China with those vital technical knowledge. The word 'assistance' mean somehow China had access to knowledge that China either did not have or was struggling to develop.
Sometimes some things are so obvious that debates about them are pointless.