Answer
Energy is conserved (it has neither been created nor destroyed) so this transfer would not violate the first law.
However, the hypothetical transfer would not happen, because it would violate the second law. Heat would not spontaneously flow from the cool lake to the hot teacup.