You can only transfer the maximum of $5000. The difference will stay for you for next year or which ever year you may need it or want to transfer it.
When you do your income tax next year it will shows you the amount as amount forwarded from 2016 return.