No you didnt if you made up the bits, wrote them, and didnt copy off from a star wars DVD, and in real world once you have written the bits there is no way to know whether you copied it or wrote it by yourself so we compare it with the original and if there is an overbearing similarity then it is considered as piracy or stealing.