My question involves a child custody case from the State of: CA

I have full custody of my 2.5 years old girl. Her Dad has visitation every week. Both her Dad and I are not citizen. Now I decide to go back to my country(brazil) to marry my fiance there. My family is in Brazil, and I can find a better job and provide a better life for my daughter there. But her Dad is jealous and won't let me relocate with the girl. Even I am OK to switch custody to him and I keep visitation OR the girl live with either parent for a year or two, he still does not agree and only insists on his visitation right. If we go to court, what will be the final decision? It doesn't make sense that I can not get married again because of his visitation.