New PrintArray static method.