Copy in all arrays so we can modify them.