formatting and creating digital code to get your book published on Amazon

Will I get a copyright on my book??

Yes, I will insert a standard page asserting your rights as the author and, if it is a work of fiction I will include a paragraph about not being reflective of real people or places etc.