copyToBox static method fix