If newPagePosition is equal to PageCount, page is moved to the end of the page list.
Here is a small sample:
We call MovePage(1, 3):
Page order after relocation: