added wrapper function to copy SDL surfaces