Let us consider $ f | _B $ the function restricted to $ B $ and analogously $ f | _C $. The formula for both is $ f | _B (b) = f (b) $ and $ f | _C (c) = f (c) $, for all $ b, c \ in B, C $ respectively.
Let's define $ F: A ^ {B \cup C} \to A ^ B \times A ^ C $, given by $$ F (f) = (f | _B, f | _C) $$.
To demonstrate injectivity, let $ f, f '\in A ^ {B \cup C} $, such that $ F (f) = F (f') $, that is $ (f | _B, f | _C) = (f '| _B, f' | _C) $. Hence, it follows that $ f (b) = f | _B = f '| _B = f' (b) $ and $ f (c) = f | _C = f '| _C = f' (c) $. This is that $ f = f '$. That way $ F $ is injective.
Some help demonstrating surjectivity.