Star Wars is a knockoff of Dune even Frank Herbert thought it was ripping off many things. He said that if George Lucas didn't rip him off then he at least owed him dinner for all the coincidences
I don't have a full list but Frank Herbert had once said there was 16 coincidences between the two stories. One or two is a random chance, 16 is plagiaristic.
Well when you read the last book and learn about Miles Teg you will see the spice wizard. The laser swords though wouldn't happen. When a laser intersects with a shield then a giant atomic explosion happens.