Moving from Arduino Mega 2560 to PCDuino3

I am a student working on a project that currently utilizes an Arduino Mega 2560, however I am looking to replace the Arduino with a PCDuino3. I am having a bit of difficulty matching up the pins for the replacement given that the Arduino has some extra pins and from the pin maps I cannot tell what pins are equivalent between the two boards. Any help on how to match these pins would be immensely appreciated.

From the picture, only analog 0-5 and digital 0-13 seem to be in common.
See page 16


Might need this too as the Mega is a 5V card

Thank you for the response, I am trying to match the PCduino pins from that schematic you linked to this one from the Arduino website.