This is quite a heated topic among Pokemon and Digimon fans. In short, it wildly depends on who you ask. Pokemon was an anime about a group of friends and one boy's mission to become the greatest pokemon master and collect all of the pokemon.
Digimon was an anime about 7 friends and their adventures in a world with strange digital monsters. Digimon was originally based on the virtual pet which was very popular in the 90s called Tamagachi. So even though they are very similar, Digimon did not copy Pokemon, but actually copied Tamagachi.